//配置数据的结构
const { Schema, model } = require('mongoose');
const packSchema = new Schema({
  packName: String,
  packHome:String,
  packMan: String,
  packTel: String,
  packEmail: String,
  packAddress: String,
  packNote: String,
  packState:Boolean
}, { versionKey: false });
//配置数据模型
const packModule = model('packModule', packSchema, 'packs');

//把配置的数据模型暴露出去
module.exports={
    packModule
}